/*VaWVqaRPOcVLGQLUZRykSxN43lbEnxQvSuDfiMhf4NYKgvGSAU5ZxOpOA4snWHov*/
import React, { Component } from 'react';
import { createPage } from 'nc-lightapp-front';
import Card, { initTemplate } from '../../transassetbase/card';
import { baseConfig } from '../../transassetbase/card/const';
/**
 * 工程转固入口
 * created by wagnwhf 2018-08-08
 */
const TransassetCard = createPage({
	billinfo: {
		billtype: 'card',
		pagecode: '201201528A_card',
		headcode: 'card_head',
		bodycode: 'bodyvos'
	},
	orderOfHotKey: [
		//适配快捷键（焦点定位在第一个可编辑字段及表单之间的快捷键适配）
		'card_head',
		'bodyvos'
	]
})(Card);
// 页面配置
const pageConfig = {
	...baseConfig,
	pagecode: '201201528A_card', //单据模板pageID
	appcode: '201201528A', //小应用编码
	node_code: '2012016025',
	title: '201201524A-000003', // 工程转固
	dataSource: 'fa.newasset.projecttransasset.main',
	transi_type: 'HJ-01' //交易类型
};

export default class ProjectTransassetCard extends Component {
	render() {
		return <TransassetCard pageConfig={pageConfig} />;
	}
}

/*VaWVqaRPOcVLGQLUZRykSxN43lbEnxQvSuDfiMhf4NYKgvGSAU5ZxOpOA4snWHov*/